<?php
/**
 * Created by PhpStorm.
 * User: fengsenhua
 * Date: 2019/1/30
 * Time: 21:07
 */

namespace app\api\validate;


use think\Validate;

class IDMustBePostiveInt extends  BaseValidate
{
    protected  $rule=[
        'id'=>'require|isPositiveInteger',

    ];
    protected  $message=[
        'id'=>'id必须是正整数'
    ];
}
